﻿using EWC.Core.DependencyInjection;
using EWC.HIS.Application.Contracts.AppointmentRegistrationService.Dtos;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EWC.HIS.Application.Contracts.AppointmentRegistrationService.Commands
{
    public class AddAppointmentRegistrationCommand : IRequest<int>
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="registrationDto"></param>
        public AddAppointmentRegistrationCommand(CreateAppointmentRegistrationDto registrationDto)
        {
            RegistrationDto = registrationDto;
        }

        /// <summary>
        /// 
        /// </summary>
        public CreateAppointmentRegistrationDto RegistrationDto { get; }
    }
}
